#body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 4180/7.5 + vw;
  background: #00193d;
  color: #fff;
  font-size: 24/7.5 + vw;
  font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
}

html,
body {
  overflow-x: hidden
}

.cell {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
}

.hide {
  display: none !important;
}

.sink {
  z-index: 998 !important;
}

.btn {
  font-weight: 700;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  width: 214/7.5 + vw;
  height: 47/7.5 + vw;
  background: url(../images/btn.png);
  background-size: 100% 100%;
  text-decoration: none;
  color: inherit;
  font-size: 2.6vw;
  &.ios {
    margin: 0 auto;
    .icon {
      width: 28/7.5 + vw;
      height: 34/7.5 + vw;
      background: url(../images/i_ios.png);
      background-size: 100% 100%;
    }
  }
  &.android {
    margin: 6/7.5 + vw auto 0 auto;
    .icon {
      width: 28/7.5 + vw;
      height: 30/7.5 + vw;
      background: url(../images/i_and.png);
      background-size: 100% 100%;
    }
  }
  &.gold {
    background: url(../images/btn_.png);
    background-size: 100% 100%;
    margin: 6/7.5 + vw auto 0 auto;
    color: #83781c;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
  }
  &.ed {
    background: url(../images/btn_get.png);
    background-size: 100% 100%;
    margin: 6/7.5 + vw auto 0 auto;
    color: #ebebe7;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
  }
  .icon {
    display: inline-block;
    margin-left: 26/7.5 + vw;
  }
  .os-txt {
    text-align: center;
    width: 144/7.5 + vw;
  }
}

.header {
  float: left;
  width: 100%;
  height: 638/7.5 + vw;
  background: url(../images/header.jpg);
  background-size: 100% 100%;
  .logo {
    position: absolute;
    width: 163/7.5 + vw;
    height: 100/7.5 + vw;
    background: url(../images/logo.png);
    background-size: 100% 100%;
    top: 16/7.5 + vw;
    left: 50%;
    margin-left: 163/7.5*-.5 + vw;
  }
  .interactive {
    margin-top: 346/7.5 + vw;
    .logged {
      width: 100%;
      color: #000;
      font-size: 2.3vw;
      font-weight: 700;
      display: flex;
      display: -webkit-flex;
      justify-content: center;
      -webkit-justify-content: center;
      .item {
        margin: 2.4vw 1vw;
      }
    }
  }
}

.wrap {
  float: left;
  width: 100%;
  height: 3480/7.5 + vw;
  background: url(../images/line.jpg);
  background-size: 100%;
  margin-top: -1px;
  .item {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    flex-direction: column;
    -webkit-flex-direction: column;
  }
  .title {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    width: 599/7.5*1.2 + vw;
    height: 41/7.5 + vw;
    background: url(../images/title.png) 6vw 0 no-repeat;
    background-size: (100/1.2) + vw;
    margin: -16/7.5 + vw auto;
    font-size: 2.6vw;
    &:before {
      content: '';
      padding-left: 16/7.5 + vw;
    }
    .title-txt {
      margin-top: -.88vw;
    }
  }
  .loader {
    width: 569/7.5 + vw;
    height: 28/7.5 + vw;
    background: url(../images/loader0.jpg);
    background-size: 100% 100%;
    margin-top: 4vw;
  }
  .pbs {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    width: (260*2+31)/7.5 + vw;
    .item {
      position: relative;
      width: 260/7.5 + vw;
      height: 260/7.5 + vw;
      margin-left: 30/7.5 + vw;
      margin-top: 10/7.5 + vw;
      &:first-child,
      &:nth-child(3) {
        margin-left: 0;
      }
      .item-desc {
        width: 100%;
        position: absolute;
        bottom: 2.4vw;
        height: 8vw;
        .cell {
          display: flex;
          display: -webkit-flex;
          text-align: center;
          position: absolute;
          width: 100%;
          height: 100%;
          line-height: 3vw;
          transform: scale(.8);
          -webkit-transform: scale(.8);
        }
      }
    }
  }
  .btn.gold,
  .btn.ed {
    margin-top: 46/7.5 + vw;
  }
  .bot {
    margin-top: 2.4vw;
    .loader {
      width: 588/7.5 + vw;
      height: 101/7.5 + vw;
      background: url(../images/loader1.jpg);
      background-size: 100% 100%;
    }
  }
  .event2 {
    position: relative;
    margin-top: 112/7.5 + vw;
    .widget {
      width: 94/7.5 + vw;
      height: 90/7.5 + vw;
      background: url(../images/widget.png);
      background-size: 100% 100%;
      position: absolute;
      top: -14vw;
      z-index: 999;
      right: 12vw;
    }
    .loader {
      margin-top: 30/7.5 + vw;
      width: 594/7.5 + vw;
      height: 85/7.5 + vw;
      background: url(../images/loader2.jpg);
      background-size: 100% 100%;
    }
    .myPrize {
      margin-top: 40/7.5 +vw;
      color: #3079c5;
      font-weight: 700;
      div {
        display: inline-block;
        text-decoration: underline;
      }
      .lin {
        width: 9/7.5 + vw;
        height: 12/7.5 + vw;
        background: #2c99ec;
        margin: 0 12/7.5 + vw;
      }
    }
    .timebar {
      font-size: 16/7.5 + vw;
      margin-top: 36/7.5 + vw;
      width: 600/7.5 + vw; // height: 47/7.5 + vw;
      background: #29a3ff;
      display: flex;
      display: -webkit-flex;
      .item {
        padding: 1vw;
        padding-left: 1.6vw;
        border-right: 1px solid #50b2fc;
        &:last-child {
          border-right: 0;
        }
      }
      .gray {
        color: #bdddff;
      }
    }
    .list {
      position: relative;
      width: 629/7.5+vw;
      .item {
        position: relative;
        width: 201/7.5+vw;
        height: 169/7.5+vw;
        float: left;
        margin-left: .76vw;
        margin-top: 8vw;
        .pokemon-avatar {
          width: 100%;
          height: 100%;
          .poke-c {
            position: absolute;
            width: 64/7.5 + vw;
            height: 51/7.5 + vw;
            background: url(../images/crown.png);
            background-size: 100% 100%;
            top: -4vw;
            left: 8.5vw;
            .icon {
              position: absolute;
              width: 14/7.5 + vw;
              height: 21/7.5 + vw;
              background: url(../images/crown-star.png);
              background-size: 100% 100%;
              &.left {
                top: 2vw;
                left: -5vw;
              }
              &.right {
                top: 4.8vw;
                left: 12vw;
              }
            }
          }
          .poke-l {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: url(../images/selected.png);
            background-size: 100% 100%;
          }
          .poke-g {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: url(../images/gray.png);
            background-size: 100% 100%;
          }
        }
        .pokemon-name {
          letter-spacing: -.2vw;
          font-size: 28/7.5 + vw;
          display: flex;
          display: -webkit-flex;
          justify-content: center;
          -webkit-justify-content: center;
          align-items: center;
          -webkit-align-items: center;
          width: 186/7.5 + vw;
          height: 15/7.5 + vw;
          background: url(../images/bkm-name.png);
          background-size: 100% 100%;
          position: absolute;
          left: 50%;
          margin-left: 186/7.5*-.5 + vw;
          padding-bottom: .8vw;
          box-sizing: border-box;
          bottom: -2vw;
          span {
            padding-right: .16vw;
            color: #3079c5;
            transform: scale(.76);
            -webkit-transform: scale(.76);
          }
          &.short {
            background: url(../images/bkm-name2.png);
            background-size: 100% 100%;
          }
        }
        &:last-child {
          margin-left: 28.4vw;
        }
      }
    }
  }
  .event3 {
    position: relative;
    margin-top: 80/7.5 + vw;
    .loader {
      margin-top: 30/7.5 + vw;
      width: 593/7.5 + vw;
      height: 47/7.5 + vw;
      background: url(../images/loader3.jpg);
      background-size: 100% 100%;
    }
    .box {
      display: flex;
      display: -webkit-flex;
      flex-wrap: wrap;
      -webkit-flex-wrap: wrap;
      width: 76%;
      justify-content: space-between;
      .card {
        display: flex;
        display: -webkit-flex;
        justify-content: center;
        -webkit-justify-content: center;
        position: relative;
        width: 269/7.5 + vw;
        height: 173/7.5 + vw;
        background: url(../images/card.jpg);
        background-size: 100% 100%;
        margin: 58/7.5*.7 + vw 0 58/7.5*.3 + vw 0;
        padding-top: 3vw;
        box-sizing: border-box;
        &:nth-child(1) {
          .item {
            width: 248/7.5 + vw;
            height: 109/7.5 + vw;
            background: url(../images/e3_0.jpg);
            background-size: 100% 100%;
          }
        }
        &:nth-child(2) {
          padding-top: 1.8vw;
          .item {
            width: 248/7.5 + vw;
            height: 116/7.5 + vw;
            background: url(../images/e3_1.jpg);
            background-size: 100% 100%;
          }
        }
        &:nth-child(3) {
          padding-top: 1.8vw;
          .item {
            width: 248/7.5 + vw;
            height: 116/7.5 + vw;
            background: url(../images/e3_2.jpg);
            background-size: 100% 100%;
          }
        }
        &:nth-child(4) {
          padding-top: 1.4vw;
          .item {
            width: 248/7.5 + vw;
            height: 120/7.5 + vw;
            background: url(../images/e3_3.jpg);
            background-size: 100% 100%;
          }
        }
        &:nth-child(5) {
          padding-top: 1.5vw;
          .item {
            width: 248/7.5 + vw;
            height: 118/7.5 + vw;
            background: url(../images/e3_4.jpg);
            background-size: 100% 100%;
          }
        }
        &:nth-child(6) {
          padding-top: 1.5vw;
          .item {
            width: 248/7.5 + vw;
            height: 119/7.5 + vw;
            background: url(../images/e3_5.jpg);
            background-size: 100% 100%;
          }
        }
        &:nth-child(7) {
          margin-left: 18.6vw;
          padding-top: 1.5vw;
          .item {
            width: 248/7.5 + vw;
            height: 116/7.5 + vw;
            background: url(../images/e3_6.jpg);
            background-size: 100% 100%;
          }
        }
        .btn {
          width: 168/7.5 + vw;
          height: 46/7.5 + vw;
          position: absolute;
          bottom: -3vw;
          left: 50%;
          margin-left: 168/7.5*-.5 + vw;
        }
      }
    }
  }
}

.footer {
  float: left;
  width: 100%;
  height: 9/7.5 + vw;
  background: url(../images/bot.jpg) no-repeat;
  background-size: 100%;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .6);
  z-index: 999
}

.pop {
  overflow: hidden;
  color: #54acf0;
  position: fixed;
  z-index: 999;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 86%;
  left: 50%;
  background: #cde3fd;
  border-radius: 4vw;
  border: 1.6vw solid #ffe400;
  box-sizing: border-box;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  padding: 5vw 0;
  .close {
    width: 78/7.5 + vw;
    height: 74/7.5 + vw;
    background: url(../images/x.png);
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    right: 0;
  }
  .x {
    width: 78/7.5 + vw;
    height: 74/7.5 + vw;
    position: absolute;
    top: 0;
    right: 0;
  }
  .bkm {
    position: absolute;
    width: 249/7.5 + vw;
    height: 244/7.5 + vw;
    background: url(../images/jlq.jpg);
    background-size: 100% 100%;
    right: 1vw;
    bottom: 1vw;
  }
  .pop-wrap {
    position: absolute;
    border-radius: 2vw;
    border: 1px dashed #98bce6;
    top: 1.2vw;
    left: 1.2vw;
    right: 1.2vw;
    bottom: 1.2vw;
  }
  .login {
    position: relative;
    .btns {
      margin-top: 2vw;
      display: flex;
      display: -webkit-flex;
      flex-direction: column;
      -webkit-flex-direction: column;
      align-items: center;
      -webkit-align-items: center;
      .btn {
        width: 260/7.5 + vw;
        height: 56/7.5 + vw;
        margin-top: 2vw;
      }
      .fb {
        background: url(../images/_btn.png);
        background-size: 100% 100%;
      }
    }
    .inputs {
      margin-top: 5vw;
      .input {
        width: 250/7.5 + vw;
        height: 6.6vw;
        outline: none;
        border: 1px solid #2c9aec;
        padding: 0 2vw;
        font-size: 2.8vw;
        color: inherit;
        width: 40%;
      }
      .item {
        display: flex;
        display: -webkit-flex;
        margin-top: 2.2vw;
        span {
          justify-content: flex-end;
          width: 37%;
          margin-right: 2vw;
          display: flex;
          display: -webkit-flex;
          align-items: center;
          -webkit-align-items: center;
        }
      }
    }
  }
  .ctn {
    position: relative;
    text-align: center;
  }
  .server {
    position: relative;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    padding: 1vw 0 1vw 0;
    .item {
      position: relative;
      margin-top: 1.5vw;
      .tip {
        position: absolute;
        left: 34vw;
        margin-left: 1vw;
        line-height: 6.6vw;
        font-size: 2vw;
      }
      .btn {
        margin-top: 4vw;
      }
    }
    select {
      height: 6.6vw;
      outline: none;
      border: 1px solid #2c9aec;
      padding: 0 2vw;
      font-size: 2.6vw;
      color: inherit;
      width: 34vw;
    }
  }
  &.overview {
    width: 70%;
    .bkm {
      display: none;
    }
    .overview {
      position: relative;
    }
    .display-list {
      display: flex;
      display: -webkit-flex;
      align-items: center;
      -webkit-align-items: center;
      flex-direction: column;
      -webkit-flex-direction: column;
      .item {
        display: flex;
        display: -webkit-flex;
        align-items: center;
        -webkit-align-items: center;
        flex-direction: column;
        -webkit-flex-direction: column;
        height: 228/7.5 + vw;
        border-bottom: 1px solid #aad3f9;
        width: 78%;
        &:nth-child(1) .pri {
          background: url(../images/e4_0.jpg);
          background-size: 100% 100%;
        }
        &:nth-child(2) .pri {
          background: url(../images/e4_1.jpg);
          background-size: 100% 100%;
        }
        &:nth-child(3) .pri {
          background: url(../images/e4_2.jpg);
          background-size: 100% 100%;
        }
      }
      .title {
        width: 100%;
        text-align: center;
        margin-top: 3vw;
      }
      .pri {
        width: 324/7.5 + vw;
        height: 100/7.5 + vw;
        margin-top: 4vw;
      }
    }
  }
}

#role {
  text-align: center;
}